<?php

	/**
	 * @see Bike_Translate_Parser_Interface
	 */
	require_once 'Bike/Translate/Parser/Interface.php';
	
	
	class Bike_Translate_Parser_Validate implements Bike_Translate_Parser_Interface
	{		static public function parse($Content)
		{
			preg_match('/protected\s+\$_messageTemplates\s+\=\s+array\((.*)\)\;/Uis', $Content, $matches);
			$content = $matches[1];
			preg_match_all("/self\:\:(.*)\=\>\s+([\"\']){1}(.*)(\\2)[\,]+/Uis", $content, $matches);
			return $matches[3];
		}
	}
